Therefore, network switches that operate on the different layers of the OSI model are described as Layer 2, Layer 3, or Layer 4 switches. The layer in which a switch operates is determined by how much addressing information it reads as data passes through
第 2 層交換機運行於 OSI 模型中的「數據鏈路層」,其功能是根據 MAC 位址來轉發數據包,適用於簡單的局域網(LAN)環境。 相對而言,第 3 層交換機在 OSI 模型的「網絡層」提供路由功能,除了能根據 MAC 位址進行轉發,還能根據 IP 位址進行更為複雜的數據處理。 第 3 層交換機同時具備交換與路由功能,使其在處理跨子網的數據流時,提供更高的靈活性與可擴展性。 在選擇交換機時,應根據網絡規模、數據流量、所需功能及未來擴展性來確定最適合的解決方案。 「層」這個術語源自開放系統互連(OSI,Op
A Layer 2 switch operates at Layer 2 of OSI model, which is the Data Link Layer. The switch forwards data packets depending on the devices’ MAC (Media Access Control) addresses that are in its network.